﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace whu2020302051098 {
    class NetWorkAnalysClass
    {
        public static string GetPath(string path)
        {
            int i;
            for (i = 0; i < path.Length; ++i)
            {
                if (path.Substring(i, 4) == "code")
                {
                    break;
                }
            }

            return path.Substring(0, i - 1);
        }




    }
}
